from django.urls import path
from .views import Cates,Questions,Fquestions,Lei,Xq

urlpatterns = [
    path('cate/', Cates.as_view()),
    path('dcate/<int:id>', Cates.as_view()),
    path('ques/', Questions.as_view()),
    path('ques/<int:id>', Questions.as_view()),
    path('xq/<int:id>', Xq.as_view()),
    path('dques/', Fquestions.as_view()),
    path('dques/<int:id>', Fquestions.as_view()),
    path('lei/', Lei.as_view()),
]
